import * as echarts from 'echarts';
import 'echarts-gl';
var option;

option = {
  backgroundColor: 'rgba(0,0,0,0)',
  globe: {
    baseTexture: './static/earthImg/earth.jpg',
    heightTexture:  './static/earthImg/bathymetry_bw_composite_4k.jpg',
    displacementScale: 0.1,
    shading: 'lambert',
    // environment:  './static/earthImg/starfield.jpg',
    light: {
      ambient: {
        intensity: 0.1
      },
      main: {
        intensity: 1.5
      }
    },
    layers: [
      {
        type: 'blend',
        blendTo: 'emission',
        texture: './static/earthImg/night.jpg'
      },
      {
        type: 'overlay',
        texture: './static/earthImg/clouds.png',
        shading: 'lambert',
        distance: 5
      }
    ]
  },
  series: []
};

export {option}
